﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <meta http-equiv="Cache" content="no-cache" />
    <title>诊疗路径自定义模板</title>
    <link rel="stylesheet" href="~/Scripts/ligerUI/skins/Aqua/css/ligerui-all.css" />
    <link rel="stylesheet" href="~/Scripts/ligerUI/skins/ligerui-icons.css" />
    <link rel="stylesheet" href="~/Scripts/ligerUI/skins/Gray/css/all.css" />
    <link rel="stylesheet" href="~/Content/css/common.css" />
    <script src="~/Scripts/jquery-1.10.2.min.js"  ></script>
    <script src="~/Scripts/ligerUI/js/ligerui.all.js"></script>
    <script src="~/Scripts/common.js?v=@DateTime.Now.ToString("yyyyMMddHHmm")"></script>
    <script src="~/Areas/ChestPainCenter/Scripts/PathWayTemplate.js?v=@DateTime.Now.ToString("yyyyMMddHHmm")"></script>
    <style  >
	.gridtable{margin:0;width:370px;}
	.gridtable td{height:30px;line-height:30px;}
	.iconlist{padding:3px;width:360px;}
	.iconlist li{float:left;display:block;padding:2px;border:1px solid #FFF;cursor:pointer;}
	.iconlist li.over{border:1px solid #516B9F;}
	.iconlist li img{height:16px;height:16px;}
	h3{margin:0 30px 10px 0;padding:45px 0 8px;border-bottom:solid 1px #888;color:#000;font-size:14px;}
	td{padding:5px;}
	.tab-contain{overflow:hidden;width:100%;}
	#tabs{overflow:hidden;margin:0;padding:0;width:100%;list-style:none;}
	#tabs li{float:left;margin:0;padding:5px;padding-bottom:0;}
	li a{position:relative;float:left;padding:5px 30px;border:1px solid #F1F1F1;border-radius:2px 2px 0 0;background:#fff;color:#444;text-decoration:none;}
	.current a{z-index:4;outline:0;background:#F1F1F1;}
	.hoverItem a{background:#fff;}
	#content{position:relative;padding:0;border-top:1px solid #F1F1F1;border-radius:0 5px 5px 5px;background:#fff;}
	.item{display:none;}
	.show{display:block;}
	.radio_label{display:inline-block;width:auto;height:22px;background:url(/Content/images/radiobutton.png) no-repeat;background-position:-13px -16px;text-indent:22px;line-height:22px;}
	.radio_label:hover{background-position:-13px -116px;}
	.checked{background-position:-13px -216px;}
	.checked:hover{background-position:-13px -216px;}
	input[type=radio]{width:0;}
    </style>
</head>
<body>
    <div>
        <div position="center" title="">
            <div id="form1">
                <table id="tbSet" cellpadding="0" cellspacing="0" class="l-table-edit" style="margin-top: -35px !important; width: 100% !important;" border="0">
                    <tbody id='fileTable'>
                        <tr>
                            <td style="text-align: left; width: 100% !important;" colspan="4">
                                <h3>自定义项：</h3>
                            </td>
                        </tr>
                        <tr style="text-align: center;">
                            <td colspan="6" align="center">
                                <label class="checked"><input type="radio" value="0" name="checktype" checked="checked" />文本框</label>
                                <label><input type="radio" value="1" name="checktype" />下拉框</label>
                                <label><input type="radio" value="2" name="checktype" />单选框</label>
                                <label><input type="radio" value="3" name="checktype" />多选框</label>
                                <label><input type="radio" value="4" name="checktype" />时间控件</label>
                                <input type="button" value="+" id="add_new_line" style="padding: initial !important; font-size: 20px; width: 36px; ">
                                <input type="button" value="-" id="delete_line" style="padding: initial !important; font-size: 20px; width: 36px; ">
                            </td>
                        </tr>
                    </tbody>
                </table>

                <table cellpadding="0" cellspacing="0" class="l-table-edit" style="margin-top: 15px !important;">
                    <tbody id='fileTable'>
                        <tr>
                            <td style="text-align: center;">
                                <div class="searchbar">
                                    <input id="btnSearch" type="button" onclick="SaveConfirm();" value="保  存" class="l-button" />
                                </div>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div id="maingrid" style="margin:0px;padding: 0px"></div>
        </div>
        <input type="hidden" id="hdnId" value="@ViewBag.Id" />
    </div>    
    <script type="text/x-template" id="divAdd">
        <tr tag="0">
            <td style="text-align: right">
                文本框标题：
            </td>
            <td>
                <div class="l-text" style="width:150px;">
                    <input id="txttitle" type="text" class="ui-textbox l-text-field" value="" style="width: 150px;">
                    <input id="txtwidth" type="number" style="display:none;" value="">
                </div>
            </td>
            <td>
                &nbsp;&nbsp;&nbsp;输入框后面的描述：
            </td>
            <td>
                <div class="l-text" style="width:150px;">
                    <input id="discript" type="text" class="ui-textbox l-text-field" style="width: 150px;" value="">
                </div>
            </td>
        </tr>
    </script>
    <script type="text/x-template" id="divAddDropDown">
        <tr tag="1">
            <td style="text-align: right">
                下拉框标题：
            </td>
            <td>
                <div class="l-text" style="width:150px;">
                    <input id="txttitle" type="text" class="ui-textbox l-text-field" style="width: 150px;">
                    <input id="txtwidth" type="number" style="display:none;" value="">
                </div>
            </td>
            <td>
                &nbsp;&nbsp;&nbsp;输入多个下拉选项，#号隔开：
            </td>
            <td>
                <div class="l-textarea" style="width: 301px;">
                    <textarea id="txtOptions" rows="2" class="l-textarea ipt inp" maxlength="500" style="width:290px;padding:5px; height:30px;" datavalue="多个选项用#隔开 例如：选项1#选项2#选项3"></textarea>
                </div>
            </td>
        </tr>
    </script>
    <script type="text/x-template" id="divAddRadio">
        <tr tag="2">
            <td style="text-align: right">
                单选框标题：
            </td>
            <td>
                <div class="l-text" style="width:150px;">
                    <input id="txttitle" type="text" class="ui-textbox l-text-field" style="width: 150px;">
                    <input id="txtwidth" type="number" style="display:none;" value="">
                </div>
            </td>
            <td>
                &nbsp;&nbsp;&nbsp;输入多个单选项，#号隔开：
            </td>
            <td>
                <div class="l-textarea" style="width: 301px;">
                    <textarea id="txtOptions" rows="2" class="l-textarea ipt inp" maxlength="500" style="width:290px;padding:5px; height:30px;" datavalue="多个选项用#隔开 例如：男#女"></textarea>
                </div>
            </td>
        </tr>
    </script>
    <script type="text/x-template" id="divAddCheck">
        <tr tag="3">
            <td style="text-align: right">
                多选框标题：
            </td>
            <td>
                <div class="l-text" style="width:150px;">
                    <input id="txttitle" type="text" class="ui-textbox l-text-field" style="width: 150px;">
                    <input id="txtwidth" type="number" style="display:none;" value="">
                </div>
            </td>
            <td>
                &nbsp;&nbsp;&nbsp;输入多个选项，#号隔开：
            </td>
            <td>
                <div class="l-textarea" style="width: 301px;">
                    <textarea id="txtOptions" rows="2" class="l-textarea ipt inp" maxlength="500" style="width:290px;padding:5px; height:30px;" datavalue="多个选项用#隔开 例如：选项1#选项2#选项3"></textarea>
                </div>
            </td>
        </tr>
    </script>
    <script type="text/x-template" id="divAddDate">
        <tr tag="4">
            <td style="text-align: right">
                标题：
            </td>
            <td>
                <div class="l-text" style="width:150px;">
                    <input id="txttitle" type="text" class="ui-textbox l-text-field" style="width: 150px;">
                    <input id="txtwidth" type="number" style="display:none;" value="">
                </div>
            </td>
            <td>
                &nbsp;&nbsp;&nbsp;&nbsp;选择时间格式：
            </td>
            <td>
                <div class="l-radiolist" style="width:440px;">
                    <label class="radio_label checked"> <input type="radio" value="0" name="timetype" checked="checked" />1900-01-01 00:00:00</label>
                    <label class="radio_label"><input type="radio" value="1" name="timetype" />1900-01-01 </label>
                    <label class="radio_label"><input type="radio" value="2" name="timetype" />1900-01 </label>
                    <label class="radio_label"><input type="radio" value="3" name="timetype" />1900 </label>
                    <label class="radio_label"><input type="radio" value="4" name="timetype" />23:00:00</label>
                </div>
            </td>
        </tr>
    </script>
</body>
</html>